home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / comms / other / novia / src / include / novia_dos.h < prev    next >
C/C++ Source or Header  |  1999-12-06  |  17KB  |  525 lines

  1. #ifndef NOVIA_DOS_H
  2. #define NOVIA_DOS_H
  3. #define NOVIA_DOS_H_VERSION "$VER: 0.59 (23.10.1999)"
  4. #define NOVIA_DOS_VER 59
  5. // (c) Copyright 1996-1999 by Thorsten Gehler
  6. // All rights reserved. Read license.readme for copyright informations.
  7. // VER 0.13 (09.08.1998)
  8. // VER 0.14 (11.08.1998)
  9. // VER 0.15 (17.08.1998)
  10. // VER 0.54 (27.02.1999)
  11. // VER 0.55 (07.03.1999)
  12. // VER 0.56 (18.04.1999)
  13. // VER 0.57 (04.09.1999)
  14. // VER 0.58 (09.10.1999)
  15. // VER 0.59 (23.10.1999)
  16.  
  17. #ifndef EXEC_LISTS_H
  18. #include <exec/lists.h>
  19. #endif
  20.  
  21. #ifndef EXEC_PORTS_H
  22. #include <exec/ports.h>
  23. #endif
  24.  
  25. #ifndef DOS_DOS_H
  26. #include <dos/dos.h>
  27. #endif
  28.  
  29. #ifndef NOVIA_DATE_H
  30. #include <novia/novia_date.h>
  31. #endif
  32.  
  33.  
  34. #define ITEMTYPE_NULL            0
  35. #define ITEMTYPE_SUBBOARD        1
  36. #define ITEMTYPE_MESSAGE        2
  37. #define ITEMTYPE_FILEARCHIV    3
  38. #define ITEMTYPE_EMAIL            4
  39. #define ITEMTYPE_COMMAND        10
  40.  
  41. #define GENDER_BOTH            0
  42. #define GENDER_FEMALE        'F'
  43. #define GENDER_MALE            'M'
  44.  
  45. struct ItemInfoBlock
  46. {
  47.     ItemInfoBlock *ln_Succ;        // 4    new since V0.15 (vorher IDNumber)
  48.     ItemInfoBlock *ln_Pred;        // 8    new since V0.15 (vorher IPNumber)
  49.     ULONG    res1;                        // 12
  50.     ULONG    res2;                        // 16
  51.     ULONG    res3;                        // 20
  52.     ULONG    res4;                        // 24
  53.     ULONG    IDNumber64;                // 28    offset changed since V0.15, oldoffset was 0
  54.     ULONG    IDNumber;                // 32    reserverd for 64Bit-Filesystem 
  55.     ULONG    IPNumber64;                // 36    offset changed since V0.15, oldoffset was 4
  56.     ULONG    IPNumber;                // 40    
  57.  
  58.     ULONG    ItemType;                // 44    type of item
  59.  
  60.     struct    Date ReservedDate;// 56
  61.     struct    Date LastChange;    // 68
  62.     struct    Date CreateDate;    // 80    true writing date
  63.  
  64.     ULONG    Size64;                    // 84    sizeof File or size of files in subboard
  65.     ULONG    Size;                        // 88    for 64Bit Filesystems or soft-dirs (FTP-Server)
  66.  
  67.     ULONG    NumBlocks64;            // 92    copy of FileInfoBlock->fib_NumBlocks
  68.     ULONG    NumBlocks;                // 96    for 64Bit Filesystem (not yet supported)
  69.  
  70.     ULONG    Protection;                // 100  DOS-Protection Bits
  71.  
  72.     UWORD    UID;                        // 102  UUCP-UserID
  73.     UWORD    GID;                        // 104    UUCP-GroupID
  74.  
  75.     ULONG    AccessLevel;            // 108    min Access
  76.  
  77.     ULONG    PostAccess;                // 112 groups which may Post
  78.     ULONG    UploadAccess;            // 116 ... Upload/Respong access
  79.     ULONG    DownloadAccess;        // 120 ... Download/Read access
  80.     ULONG    ComputerTypes;            // 124
  81.  
  82.     UBYTE    NoItems;                    // 125 user can't add a item/reply to subboard/item
  83.     UBYTE    itsme1;                    // 126 for future
  84.     UBYTE    itsme2;                    // 127 for future
  85.     UBYTE    itsme3;                    // 128 for future
  86.     ULONG    ReplyAccess;            // 132
  87.     UBYTE    Deleted;                    // 133 Item is deleted
  88.     UBYTE    Closed;                    // 134 Closed
  89.  
  90.     UWORD    MinEnter;                // 136 minutes must online before enter of read subboard/item
  91.  
  92.     UBYTE    Youngest;                // 137
  93.     UBYTE    Oldest;                    // 138
  94.     UBYTE    Gender;                    // 139
  95.     UBYTE    DefDropped;                // 140
  96.  
  97.     UWORD    MaxMins;                    // 142 User can't read/enter item/subboard after ...
  98.     UWORD    FreeDays;                // 144 files are free in ... days
  99.  
  100.     UWORD    DownBytes;                // 146 x of download bytes to subtract
  101.     UWORD    DownFiles;                // 148 # of files to subtract per download
  102.     UWORD    TimeCredit;                // 150 % of time to give back for uploads
  103.     UBYTE    ArcTransform;            // 151 Transform to archiveformat
  104.     UBYTE    RealNames;                // 152 use real names instead of Handles? 
  105.     UBYTE    PrivateMails;            // 153
  106.     UBYTE    NoSignatures;            // 154
  107.     UBYTE    Anonymous;                // 155
  108.     UBYTE    Override;                // 156 how to set the use defaults flags in newly uploaded items 
  109.  
  110.     ULONG    CreateUserIP;            // 160
  111.     ULONG    LastChangeUserIP;        // 164
  112.     char    Title[128];                // 292 viewtitle
  113.     MinList OpenList;                // 304 List of port of open this file
  114.     char    Filename[108];            // 412 copy of FileInfoBlock->fib_FileName
  115.     char    Comment[80];            // 492 copy of FileInfoBlock->fib_Comment
  116.     char    *fullpath;                // 496 full filename
  117.     ULONG    OpenCounter;            // 500 OpenCounter
  118.     char    ReservedBytes[12];    // 512
  119. };
  120.  
  121. struct Directory
  122. {
  123.     struct    ItemInfoBlock iib;// 512
  124.     ULONG    MinFreeBytes;            // 516    to upload in this subboard 
  125.     UBYTE    BufferType;                // 517    0 - no buffering
  126.                                         //        1 - copy to ram before download
  127.                                         //        2 - copy to harddisk before download
  128.  
  129.     UBYTE    ArcAvailable;            // 518  Transform to archiveformat
  130.     UBYTE    QWKAvailable;            // 519 use real names instead of Handles? 
  131.  
  132.     UBYTE    Verification;            // 520
  133.     UBYTE    ShowUnvalidated;        // 521
  134.     UBYTE    NoMCI;                    // 522
  135.  
  136.     UBYTE    PrivateArea;            // 523  0/1 No/Yes ... 2==FORCE 
  137.     char    Password[11];            // 534
  138.     char    Encrypt[11];            // 545
  139.     UBYTE    TestFiles;                // 546  test at upload time 
  140.  
  141.     UBYTE    FileTransform;            // 547 run script at upload time 
  142.     UBYTE    ChangeOwnItems;        // 548  Use inactive days against indiv responses 
  143.  
  144.     UWORD     NetNumber;            // 550
  145.     UWORD    UpFileRatio;            // 552 Which file uploads ratio 
  146.     UWORD    UpFileCharge;            // 554 which set of charges to use?          
  147.     UWORD    UpByteRatio;            // 556
  148.     UWORD    UpByteCharge;            // 558
  149.     UWORD    UseRate;                    // 560  default download rate
  150.     
  151.     ULONG    Language;                // 564  which BBSARCS to transform 
  152.  
  153.     ULONG    RecordLog;                // 568
  154.     ULONG    LogfileID;                // 572
  155.     
  156.     ULONG    ItemEntrys;                // 576
  157.     ULONG    DirEntrys;                // 580
  158.     UWORD    DelMails;                // 582
  159.     UWORD    DelFiles;                // 584
  160.     UBYTE    AddressMessages;        // 585
  161.     UBYTE    DupeCheck;                // 586
  162.     UBYTE    NoPostCharges;            // 587
  163.     UBYTE    PurgeOld;                // 588
  164.     UBYTE    InvitatonOnly;            // 589
  165.     UBYTE    NewVotes;                // 590
  166.     UBYTE    NetworkType;            // 591
  167.     UBYTE    reserved06172_338956;// 592
  168.     ULONG    HoursOpen;                // 596
  169.     ULONG    MaxItems;                // 600 Maximum Dirs & Items... in this subboard, 0 = no maximum
  170.     char    Scanfilter[4];            // 604
  171.     UBYTE    NewFilesValidation;    // 605
  172.     UBYTE    AMaintAdoptOrphans;    // 606
  173.     UBYTE    KillOwnFiles;            // 607
  174.     UBYTE    localdir;
  175.     MinList entrylist;            // 628 new sience V0.57 !!!
  176.     BPTR    fh_messages;            
  177.     BPTR    fh_files;
  178.     BPTR    fh_dirs;
  179.     BPTR    fh_text;
  180.     BPTR    fh_replys;
  181.     MinList subdirlist;            // 652 List of opened Sub-Directorys
  182.     Directory *parrentdir;        // 656 pointer of parrent Directory-structure
  183.     char    *parrentdir_name;        // 660
  184. };
  185.  
  186.  
  187. struct ItemEntry {            
  188.     struct  ItemInfoBlock iib;    // 512  
  189.     Date    SendDate;                // 524  import date in database 
  190.     Date    ExpirationDate;        // 536  auto-killing on ... 
  191.     UWORD    ExpirationDays;        // 538    auto-killing in .. days 
  192.     UBYTE    res;                        // 539  reserved
  193.     UBYTE    NetworkType;            // 540    >0 if uucp, fido or other mails
  194.     ULONG    ItemType;                // 544    0 - mail
  195.                                         //           1 - archive
  196.  
  197.     ULONG    ToUser;                    // 548  internal-items only
  198.     ULONG    FromUser;                // 552  internal-items only
  199.     ULONG    RealUser;                // 556  normaly a copy of FromUser. you can use this entry, if writers name is an alias or anonymous
  200.  
  201.     char    FromRealName[40];        // 676  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  202.     char    From[80];                // 676  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  203.     char    ToRealName[40];        // 796  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  204.     char    To[80];                    // 796  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  205.     char    Alias[80];                // 876  alias name 
  206.  
  207.     char    anonymous;                // 877
  208.     char    MailListMail;            // 878  MailList-Mail 
  209.     char    ReservedFlags[6];        // 884 
  210.  
  211.     char    Filename[128];            // 1012 for fileitems only
  212.     ULONG    FileVersion;            // 1016 Version of file 
  213.     ULONG    MailListID;                // 1020 MailList ID Number 
  214.  
  215.     ULONG downloads;                // 1024
  216.  
  217.     ULONG    length;                    // 1028
  218.     ULONG    DirIP;                    // 1032 serial directory number                // New in V0.14
  219.     ULONG    replys;                    // 1036
  220.     char  *text;                    // 1040
  221.     ULONG    besttransfer;            // 1044
  222.     ULONG first_reply;            // 1048
  223.     ULONG    text_seek;                // 1052 Startseek in [Userpath]/MailData 
  224.     UBYTE    resered[148];            // 1200
  225. };
  226.  
  227.  
  228. struct CommandEntry
  229. {
  230.     struct  ItemInfoBlock iib;    // 512  
  231.     Date    SendDate;                // 524  import date in database 
  232.     Date    ExpirationDate;        // 536  auto-killing on ... 
  233.     UWORD    ExpirationDays;        // 538    auto-killing in .. days 
  234.     UBYTE    NetworkType;            // 539    >0 if uucp, fido or other mails
  235.     UBYTE    internal;                // 540  internal command
  236.     ULONG    CommandID;                // 544  internal command id
  237.     char    FromRealName[40];        // 584  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  238.     char    From[80];                // 664  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  239.     char    Alias[80];                // 744  alias name 
  240.     ULONG    Version;                    // 748  Version of command 
  241.     ULONG runs;                        // 752
  242.     char    reserved1[256];        // 1008 for fileitems only
  243.     UBYTE    reserved2[192];        // 1200
  244. };
  245.  
  246.  
  247. struct ReplyEntry {
  248.     ULONG    IDNumber;                // 4
  249.     ULONG    IPNumber;                // 8
  250.  
  251.     UBYTE    RealNames;                // 9 use real names instead of Handles? fileinfoblock
  252.     UBYTE    PrivateMails;            // 10
  253.     UBYTE    NoSignatures;            // 11
  254.     UBYTE    Anonymous;                // 12
  255.     UBYTE    Override;                // 13 how to set the use defaults flags in newly uploaded items 
  256.     UBYTE    Deleted;                    // 14 Item is deleted
  257.     UBYTE    NoEdit;                    // 15 User can't edit this mail 
  258.     UBYTE    AnonymousMail;            // 16 
  259.     UBYTE    MailListMail;            // 17 MailList-Mail 
  260.  
  261.     UBYTE    Reserved;                // 18
  262.     UBYTE    TxtAdded;                // 19
  263.     UBYTE    FileMail;                // 20 if TRUE txt=distrution
  264.     char    FileName[40];            // 60
  265.  
  266.     Date    LastChange;                // 72
  267.     Date    CreateDate;                // 84 true writing date
  268.  
  269.     ULONG    ToUser;                    // 88 internal-items only 
  270.     ULONG    FromUser;                // 92 internal-items only 
  271.     Date    ExpirationDate;        // 104 auto-killing on ... 
  272.     short    ExpirationDays;        // 106 auto-killing in .. days 
  273.     
  274.     char    From[80];                // 186 or alias name 
  275.     char    FromRealName[40];        // 226
  276.     char    To[80];                    // 306
  277.     char     ToRealName[40];        // 346
  278.     char    Alias[80];                // 426
  279.     UBYTE    Reservedbytes[8];        // 434
  280.     ULONG    length;                    // 438
  281.     Date    SendDate;                // 450 // new since V0.15 (imported date)
  282.     ULONG unknown;                    // 454
  283.     ULONG next_reply;                // 458
  284.     ULONG    text_seek;                // 462
  285.     UBYTE res[24];                    // 486
  286. };
  287.  
  288. struct OpenEntry                    // for ItemInfoBlock->OpenList
  289. {
  290.     struct OpenEntry     *ln_Succ;// next OpenEntry
  291.     struct OpenEntry    *ln_Pred;// back OpenEntry
  292.     struct PortData        *cport;// Pointer to cport
  293. };
  294.  
  295.  
  296. /* you must use this structure to add new items */
  297.  
  298. struct NewItem
  299. {
  300.     ULONG    ItemType;                // 4    type of item
  301.     struct    Date CreateDate;    // 12    true writing date
  302.     ULONG    Protection;                // 16   DOS-Protection Bits
  303.     UWORD    UID;                        // 18   UUCP-UserID        not yet used.
  304.     UWORD    GID;                        // 20    UUCP-GroupID    not yet used
  305.     ULONG    CreateUserIP;            // 24
  306.     char    Subject[80];            // 104  Subject of mail
  307.     char    Filename[108];            // 212  copy of FileInfoBlock->fib_FileName
  308.     char    FromRealName[40];        // 676  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  309.     char    From[80];                // 676  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  310.     char    ToRealName[40];        // 796  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  311.     char    To[80];                    // 796  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  312.     char    Alias[80];                // 532  alias name 
  313.     ULONG    ToUser;                    // 536    for internal-items only
  314.     ULONG    FromUser;                // 540  for internal-items only
  315.     char    anonymous;                // 541
  316.     char    MailListMail;            // 542  MailList-Mail 
  317.     char    ReservedFlags[6];        // 548 
  318.     ULONG    FileVersion;            // 552  Version of file 
  319.     ULONG    MailListID;                // 556  MailList ID Number 
  320.     char    *text;                    // 560  pointer of mailtext
  321. };
  322.  
  323. struct Select
  324. {
  325.     struct Select *ln_Succ;
  326.     struct Select *ln_Pred;
  327.     ULONG            directoryIP64;
  328.     ULONG            directoryIP;
  329.     ULONG            itemIP64;
  330.     ULONG            itemIP; 
  331.     ULONG            replyIP64;
  332.     ULONG            replyIP;
  333.     UBYTE            downloadnow;    // download Item now.
  334.     UBYTE            reserved[3];
  335.     char            *dirpath;
  336.     char            *filepath;
  337. };
  338.  
  339. struct SelectListFileHeader
  340. {
  341.     ULONG            res[5];
  342.     ULONG            entrys;
  343. };
  344.  
  345. struct ItemEntryBlock
  346. {
  347.     ItemEntryBlock *ln_Succ;    // 4
  348.     ItemEntryBlock *ln_Pred;    // 8
  349.     ULONG    IDNumber64;                // 12
  350.     ULONG    IDNumber;                // 16    reserverd for 64Bit-Filesystem 
  351.     ULONG    IPNumber64;                // 20    offset changed since V0.15, oldoffset was 4
  352.     ULONG    IPNumber;                // 24    
  353.  
  354.     ULONG    ItemType;                // 28    type of item
  355.  
  356.     ULONG    FileType;                // 32    0 - mail
  357.                                         //        1 - archive
  358.  
  359.     struct    Date LastChange;    // 44
  360.     struct    Date CreateDate;    // 56    true writing date
  361.  
  362.     ULONG    Size64;                    // 60    sizeof File or size of files in subboard
  363.     ULONG    Size;                        // 64    for 64Bit Filesystems or soft-dirs (FTP-Server)
  364.  
  365.     ULONG    NumBlocks64;            // 68    copy of FileInfoBlock->fib_NumBlocks
  366.     ULONG    NumBlocks;                // 72    for 64Bit Filesystem (not yet supported)
  367.  
  368.     ULONG    Protection;                // 76   DOS-Protection Bits
  369.  
  370.     UWORD    UID;                        // 78   UUCP-UserID
  371.     UWORD    GID;                        // 80   UUCP-GroupID
  372.  
  373.     ULONG    AccessLevel;            // 84   min Access
  374.  
  375.     ULONG    PostAccess;                // 88   groups which may Post
  376.     ULONG    UploadAccess;            // 92  ... Upload/Respong access
  377.     ULONG    DownloadAccess;        // 96  ... Download/Read access
  378.     ULONG    ComputerTypes;            // 100
  379.  
  380.     ULONG    ReplyAccess;            // 104
  381.  
  382.     ULONG    CreateUserIP;            // 108
  383.     char    *Title;                    // 112 viewtitle
  384.     char    *Comment;                // 116 copy of FileInfoBlock->fib_Comment
  385.     char    *filename;                // 124
  386.  
  387.     UBYTE    NetworkType;            // 125    >0 if uucp, fido or other mails
  388.     UBYTE    selected;                // 126
  389.     UBYTE    closed;                    // 127
  390.     UBYTE    res;                        // 128
  391.  
  392.     ULONG    ItemEntrys;                // 132  if Directorys, number of Items, if Item, number of Replys
  393.     ULONG    DirEntrys;                // 136  only used by Directorys
  394.     ULONG    replys;                    // 140  only Items
  395.  
  396.     char    FromRealName[40];        // 180  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  397.     char    From[80];                // 260  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  398.     char    ToRealName[40];        // 300  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  399.     char    To[80];                    // 380  for FIDO,Z-Net,SMTP (RFC 821,822) Messages or other imported messages
  400.  
  401.     ULONG    FileVersion;            // 384 Version of file 
  402.     ULONG besttransfer;
  403.     ULONG downloads;
  404. };
  405.  
  406. struct ItemEntryList
  407. {
  408.     struct ItemEntryBlock    *lh_Head;
  409.     struct ItemEntryBlock    *lh_Tail;
  410.     struct ItemEntryBlock    *lh_TailPred;
  411.     ULONG                    dirs;
  412.     ULONG                    files;
  413.     ULONG                    size;
  414.     ULONG                    IDCounter;
  415.     ULONG                    res[20];
  416.     
  417. };
  418.  
  419. #define ACTION_NFS_CLOSEROOT            2000
  420. #define ACTION_NFS_OPENROOT            2001
  421. #define ACTION_NFS_MAKEDIR                2002
  422. #define ACTION_NFS_PARENTDIR            2003
  423. #define ACTION_NFS_CHANGEDIR            2004
  424. #define ACTION_NFS_DELETE                2005
  425. #define ACTION_NFS_ADDMAIL                2006
  426. #define ACTION_NFS_ADDREPLY            2007
  427. #define ACTION_NFS_LOADSELECTLIST    2008
  428. #define ACTION_NFS_SAVESELECTLIST    2009
  429. #define ACTION_NFS_GETLIST                2010
  430. #define ACTION_NFS_ADDITEMENTRY        2011
  431. #define ACTION_NFS_ADDITEMENTRY2DIR    2012
  432. #define ACTION_NFS_ADDMAIL2DIR        2013
  433. #define ACTION_NFS_CLOSEDIR            2014
  434. #define ACTION_NFS_SENDMAIL            2015
  435. #define ACTION_NFS_RENAME                2016
  436. #define ACTION_NFS_GET_IEB                2017
  437. #define ACTION_NFS_UUCP_IMPORT_MAIL    2018
  438.  
  439. #define ACTION_LOWLEVEL_MAKE_FILESYSTEM    3001
  440. #define ACTION_LOWLEVEL_MAKE_ROOT            3002
  441. #define ACTION_LOWLEVEL_ADD_DIRECTORY        3003
  442. #define ACTION_LOWLEVEL_ADD_LINK                3004
  443. #define ACTION_LOWLEVEL_ADD_COMMAND            3005
  444.  
  445.  
  446. #define RESULT_NFS_TEXTNOTIFY            500
  447.  
  448. struct NFSPacket
  449. {
  450.     Message        nfs_msg;
  451.     PortData     *nfs_cport;
  452.     LONG            nfs_type;
  453.     LONG            nfs_arg1;
  454.     LONG            nfs_arg2;
  455.     LONG            nfs_arg3;
  456.     LONG            nfs_arg4;
  457.     LONG            nfs_arg5;
  458.     LONG            nfs_arg6;
  459.     LONG            nfs_result1;
  460.     APTR            nfs_result2;
  461.     UBYTE            nfs_inprocess;
  462. };
  463.  
  464. struct NFSServer
  465. {
  466.     MsgPort        *nfs_port;
  467.     MsgPort        *controlport;
  468.     Task            *nfstask;
  469.     UBYTE            CloseServer;
  470.     UBYTE            ServerOpen;
  471. };
  472.  
  473. #endif /* NOVIA_DOS_H */
  474.  
  475. /* Amiga DOS ERROR - Codes 
  476.     
  477.     include: dos/dos.h
  478.  
  479.     #define ERROR_NO_FREE_STORE                103
  480.     #define ERROR_TASK_TABLE_FULL                105
  481.     #define ERROR_BAD_TEMPLATE                    114
  482.     #define ERROR_BAD_NUMBER                    115
  483.     #define ERROR_REQUIRED_ARG_MISSING        116
  484.     #define ERROR_KEY_NEEDS_ARG                117
  485.     #define ERROR_TOO_MANY_ARGS                118
  486.     #define ERROR_UNMATCHED_QUOTES            119
  487.     #define ERROR_LINE_TOO_LONG                120
  488.     #define ERROR_FILE_NOT_OBJECT                121
  489.     #define ERROR_INVALID_RESIDENT_LIBRARY    122
  490.     #define ERROR_NO_DEFAULT_DIR                201
  491.     #define ERROR_OBJECT_IN_USE                202
  492.     #define ERROR_OBJECT_EXISTS                203
  493.     #define ERROR_DIR_NOT_FOUND                204
  494.     #define ERROR_OBJECT_NOT_FOUND            205
  495.     #define ERROR_BAD_STREAM_NAME                206
  496.     #define ERROR_OBJECT_TOO_LARGE            207
  497.     #define ERROR_ACTION_NOT_KNOWN            209
  498.     #define ERROR_INVALID_COMPONENT_NAME    210
  499.     #define ERROR_INVALID_LOCK                    211
  500.     #define ERROR_OBJECT_WRONG_TYPE            212
  501.     #define ERROR_DISK_NOT_VALIDATED            213
  502.     #define ERROR_DISK_WRITE_PROTECTED        214
  503.     #define ERROR_RENAME_ACROSS_DEVICES        215
  504.     #define ERROR_DIRECTORY_NOT_EMPTY        216
  505.     #define ERROR_TOO_MANY_LEVELS                217
  506.     #define ERROR_DEVICE_NOT_MOUNTED            218
  507.     #define ERROR_SEEK_ERROR                    219
  508.     #define ERROR_COMMENT_TOO_BIG                220
  509.     #define ERROR_DISK_FULL                        221
  510.     #define ERROR_DELETE_PROTECTED            222
  511.     #define ERROR_WRITE_PROTECTED                223
  512.     #define ERROR_READ_PROTECTED                224
  513.     #define ERROR_NOT_A_DOS_DISK                225
  514.     #define ERROR_NO_DISK                        226
  515.     #define ERROR_NO_MORE_ENTRIES                232
  516.     #define ERROR_IS_SOFT_LINK                    233
  517.     #define ERROR_OBJECT_LINKED                234
  518.     #define ERROR_BAD_HUNK                        235
  519.     #define ERROR_NOT_IMPLEMENTED                236
  520.     #define ERROR_RECORD_NOT_LOCKED            240
  521.     #define ERROR_LOCK_COLLISION                241
  522.     #define ERROR_LOCK_TIMEOUT                    242
  523.     #define ERROR_UNLOCK_ERROR                    243
  524.  
  525. */